package office.action.hr.form;

import office.bo.hr.impl.BecomeRegular;
import platform.common.bo.IIdentifiableObj;

public class BecomeRegularForm {
	private String id;
	private String name;				//姓名
	private String userId;					//用户id
	private String sex;						//性别
	private String nativeplace;				//籍贯
	private String dept;					//部门
	private String office;					//职务
	private String appointmentDate;			//入职时间
	private String entryDate;				//申请时间
	private String trialPeriodDuty;			//试用期职责、工作目标
	private String trialPeriodTaste;		//收获、体会、需要改进
	private String state;					//状态
	private String entryRole;				//提交审批人的角色
	private String checkRole;
	private String deptId;					//部门id
	private String companyId;
	private String roleDFlag;
	
	public IIdentifiableObj copyPropertiesToBO(IIdentifiableObj newObj) {
		BecomeRegular bo = (BecomeRegular)newObj;
		if(null!=this.id){
			bo.setId(this.id);
		}
		bo.setAppointmentDate(appointmentDate);
		bo.setTrialPeriodDuty(trialPeriodDuty);
		bo.setTrialPeriodTaste(trialPeriodTaste);
		return bo;
	}
	public BecomeRegularForm(){
		
	}
	
	public BecomeRegularForm(String name,String userId,String id,
			String office,String appointmentDate,String entryDate,String trialPeriodDuty,
			String trialPeriodTaste,String state,String entryRole,String checkRole,String deptName) {
		this.userId = userId;
		this.name = name;
		this.id = id;
		this.office = office;
		this.appointmentDate = appointmentDate;
		this.entryDate = entryDate;
		this.trialPeriodDuty = trialPeriodDuty;
		this.trialPeriodTaste = trialPeriodTaste;
		this.state = state;
		this.entryRole = entryRole;
		this.checkRole = checkRole;
		this.dept = deptName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getNativeplace() {
		return nativeplace;
	}
	public void setNativeplace(String nativeplace) {
		this.nativeplace = nativeplace;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getOffice() {
		return office;
	}
	public void setOffice(String office) {
		this.office = office;
	}
	public String getAppointmentDate() {
		return appointmentDate;
	}
	public void setAppointmentDate(String appointmentDate) {
		this.appointmentDate = appointmentDate;
	}
	public String getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}
	public String getTrialPeriodDuty() {
		return trialPeriodDuty;
	}
	public void setTrialPeriodDuty(String trialPeriodDuty) {
		this.trialPeriodDuty = trialPeriodDuty;
	}
	public String getTrialPeriodTaste() {
		return trialPeriodTaste;
	}
	public void setTrialPeriodTaste(String trialPeriodTaste) {
		this.trialPeriodTaste = trialPeriodTaste;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getEntryRole() {
		return entryRole;
	}
	public void setEntryRole(String entryRole) {
		this.entryRole = entryRole;
	}
	public String getCheckRole() {
		return checkRole;
	}
	public void setCheckRole(String checkRole) {
		this.checkRole = checkRole;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getRoleDFlag() {
		return roleDFlag;
	}
	public void setRoleDFlag(String roleDFlag) {
		this.roleDFlag = roleDFlag;
	}
	
	

}
